package com.example.test.主方法运行测试;

import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.json.JSONUtil;

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

public class Compare {

    public static void main(String[] args) {

        System.out.println("hellow world");



        String s = "0";
        System.out.println(s);
//        String s1 = "1";
//        String s2 = "2";
//
//        System.out.println(s.compareTo(s1));
//
//
//        List<String> stringList = Arrays.asList("0,1,2".split(","));
//
//        Collections.sort(stringList,(o1, o2) -> {
//            return o1.compareTo(o2);
//        });
//
//        System.out.println(JSONUtil.toJsonStr(stringList));

//        AtomicInteger atomicInteger = new AtomicInteger(2);
//
//        System.out.println(atomicInteger.incrementAndGet());
//
//        System.out.println(RandomUtil.randomStringUpper(7));

//
//        List<String> stringList = Arrays.asList("1,2,3,4,5,6,7,8,9".split(","));
//        List<String> stringList1 = Arrays.asList("1,2,3,4".split(","));
//
//        List<String> stringList2 = stringList.subList(stringList1.size(), stringList.size());
//
//        System.out.println(JSONUtil.toJsonStr(stringList2));

    }
}
